CommonsBooking\Plugin B

Total Complexity 83
Dependencies 33
Dependents 20
Total lines 748
Lines of code 435
Logical lines of code 191
Comment lines 216
Methods 32
Properties 1

Methods 32

Method Rating Maintainability Complexity Lines of code
filterAdminBodyClass()
A
53 10 22
setParentFile()
S
53 7 24
addMenuPages()
S
44 4 50
getTheContent()
S
62 6 11
addRoleCaps()
S
50 4 29
addCustomUserRoles()
S
59 4 15
savePostActions()
S
62 4 11
registerCustomPostTypes()
S
62 4 11
initRoutes()
S
53 3 24
renderError()
S
56 3 19
getRoleCapMapping()
S
56 2 21
init()
S
46 1 36
registerItemTaxonomy()
S
57 2 17
registerLocationTaxonomy()
S
58 2 16
AddImageSizes()
S
60 2 15
isPostCustomPostType()
S
64 3 10
registerPostStates()
S
72 2 5
admin_init()
S
67 2 8
addCPTRoleCaps()
S
67 2 8
commonsbooking_load_textdomain()
S
64 2 9
registerAdminOptions()
S
69 2 6
maybeEnableCB1UserFields()
S
70 2 6
registerUserDataExporters()
S
67 1 7
registerUserDataErasers()
S
67 1 7
deactivation()
S
80 1 3
getCBManagerCustomPostTypes()
S
66 1 9
getCustomPostTypesLabels()
S
64 1 10
saveOptionsActions()
S
79 1 3
initBookingcodes()
S
74 1 4
getCustomPostTypes()
S
64 1 10
registerUserWidget()
S
81 1 3
activation()
S
72 1 6